/*
 * =====================================================================================
 *
 *       Filename:  list.h
 *
 *       Version:  1.0
 *       Created:  10/04/2011 04:36:32 PM
 *       Compiler:  gcc
 *
 *       Author:  durand_y, <yoan.durand@gmail.com>
 *
 * =====================================================================================
 */
#ifndef LIST_H_
# define LIST_H_
# include <tools.h>

typedef	struct			list
{
	char				*dir;
	struct	list		*next;
	size_t				size;
}						s_list;

s_list	*init(void);
s_list	*add(s_list	*list,
			char	*elt);
s_list	*del(s_list	*list);

#endif /* !LIST_H_ */
